Repository navigation
Conversation
…tered iterator on an empty selection can be skipped
…binding the tables that are obtained by reference
aalkin
marked this pull request as ready for review
December 4, 2026 13:17
Contributor
|
Thanks, @aalkin ! I tested this PR with the Omega2012 derived-data event-mixing workflows that exposed the original issue. Using the same 7-DF input, analysis code and configuration, with mixing depth 10, I measured the following total workflow CPU times on an Apple M5 Ultra. Each value is the median of three runs:
All runs processed the full input. The ROOT outputs matched exactly between the baseline and PR runs, including the mixed-event histograms. I did not enable the skip-empty policy from #16005. We're satisfied with this result! |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a collection of self-contained commits, addressing the performance issues from my TODO list and those exposed by test workflow in https://alimonitor.cern.ch/train-workdir/tests/0081/00811378/. This is a test PR, its components will be integrated separately and gradually through dedicated PRs.
The combined improvement is about x24 times in mixing process function and x49 in the simple grouping process function.
This PR includes a benchmark for the corner cases, such as the ones exposed by the test workflow and already known tight spots in sliced loops.
@BongHwi could you please test your workflows with this PR? It is less radical than skipping empty slices entirely as in #16005, but should still provide a considerable speedup. If that is not enough for your purposes, I will add the skipping policy to the combinations generator as well.